﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace PcProject.Domain.Models.Entities
{
    /// <summary>
    /// 发起砍价表
    /// </summary>
    [Table("LaunchBargain")]
    public class LaunchBargain
    {
        [Key]
        public int LaunchId { get; set; }
        /// <summary>
        /// 活动外键
        /// </summary>
        public int ActiveId { get; set; }
        /// <summary>
        /// 商品外键
        /// </summary>
        public int Prid { get; set; }
        /// <summary>
        /// 用户外键
        /// </summary>
        public int Uid { get; set; }
        /// <summary>
        /// 被砍价次数
        /// </summary>
        public int BarNum { get; set; }
        /// <summary>
        /// 最终交易价格
        /// </summary>
        public decimal EndPrice { get; set; }
        /// <summary>
        /// 是否下单
        /// </summary>
        public int IsOrder { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime AddTime { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime UptTime { get; set; }
        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime DelTime { get; set; }

    }
}
